package com.andova.lifecycle;

import android.app.Activity;

import com.andova.empty.app.EmptyDelegate;
import com.andova.module.app.ModuleDelegate;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2018-03-21.
 *
 * @author kzaxil
 * @since 1.0.0
 */
public class ActivityLifecycleImpl extends ActivityLifecycle {
    @Override
    protected List<IDelegate> getDelegate(Activity activity) {
        List<IDelegate> delegates = new ArrayList<>(2);
        delegates.add(new ModuleDelegate(activity));
        delegates.add(new EmptyDelegate(activity));
        return delegates;
    }
}
